# for结合range实现指定次数的循环
# for n in range(1,10):
#     print(n)

#
# a = 0
# while a<10:
#     print(a)
#     a+=1
#

# 九九乘法表
# a = 1
# while a <= 9:
#     num = 1
#     while num <= a:
#         print(a, "*", num, "=", a * num, "\t", end="")
#         num += 1;
#     print()
#     a += 1


# 九九乘法表
for i in range(1, 10):
    for a in range(1, i+1):
        print(a, "*", i, "=", a * i, "\t", end="")
    print()
